Elementor\Core\Documents_Manager B

Total Complexity 78
Dependencies 8
Dependents 2
Total lines 754
Lines of code 306
Logical lines of code 178
Comment lines 320
Methods 25
Properties 5

Methods 25

Method Rating Maintainability Complexity Lines of code
ajax_save()
A
43 10 48
create()
A
47 7 35
remove_user_edit_cap()
S
53 7 23
get()
S
58 5 16
get_doc_for_frontend()
S
61 5 11
register_document_type()
S
61 4 13
get_doc_type_by_id()
S
62 4 11
ajax_get_document_config()
S
58 3 16
get_doc_or_auto_save()
S
69 3 7
get_document_type()
S
65 3 10
get_with_permissions()
S
64 3 10
get_create_new_post_url()
S
61 2 12
switch_to_document()
S
64 2 11
register_types()
S
73 2 5
localize_settings()
S
65 2 9
restore_document()
S
69 2 7
ajax_discard_changes()
S
64 2 10
register_default_types()
S
64 2 10
filter_post_row_actions()
S
69 2 7
get_types_properties()
S
68 2 7
get_document_types()
S
65 2 9
check_permissions()
S
81 1 3
get_current()
S
82 1 3
register_ajax_actions()
S
72 1 5
__construct()
S
65 1 8